package com.aaa.day1109.demo01;

/**
 * @author ${崔灿}
 * @date 2022/11/09 16:49
 **/

public class Test {
    public static void main(String[] args) {
//        FangDong fangDong = new FangDong();
//        //创建房产中介对象
//        FCZJ fczj = new FCZJ(fangDong);
//
//        fczj.chuzu();


        ProxyFactory proxyFactory = new ProxyFactory(new FangDong());

        //代理对象
        Chuzu instance = proxyFactory.getInstance();
        instance.mai();
    }
}
